package xyz.eden.boot.common.web.support.adapter.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SortReq {
    /**
     * 排序 key
     */
    private String sortKey;
    /**
     * 排序规则
     * <ui>
     * <li>倒序->desc</li>
     * <li>正序->asc</li>
     * </ui>
     */
    private String sortRule;
    /**
     * 优先级
     * <p>默认为 0</p>
     */
    private Integer level;
}
